package com.ergwang.dao;

import com.ergwang.Model.User;

import java.util.List;

/**
 * @author：ergwang
 * @Date: 2020/5/30
 * @Time: 10:27
 */
public interface UserDao {
    List<User> allUser();

    List<User> searchUser(String word);

    int deleteUser(String id);

    User login(User user);

    void signup(User user);
}
